package com.jr.pojo2;

/* 在 用户管理 显示的 字段 */

import java.sql.Timestamp;

public class UsersEmployees {

    private String userName; // users
    private String name; // employees里的names -- 真实姓名
    private String email; // employees

    private String phoneNumber; // employees
    private String role; // users
    private Timestamp createdAt; //创建时间

    public UsersEmployees() {
    }

    public UsersEmployees(String userName, String name, String email,
                          String phoneNumber, String role, Timestamp createdAt) {
        this.userName = userName;
        this.name = name;
        this.email = email;
        this.phoneNumber = phoneNumber;
        this.role = role;
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "UsersEmployees{" +
                "userName='" + userName + '\'' +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", role='" + role + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }
}
